package com.cskaoyan.service.vx.order;

import com.cskaoyan.bean.bo.vxBo.CartToOrderBO;
import com.cskaoyan.bean.bo.vxBo.VXCommentBO;
import com.cskaoyan.bean.vo.TVO;
import com.cskaoyan.bean.vo.vxVo.OrderDetailGoodsVO;
import com.cskaoyan.bean.vo.vxVo.OrderDetailVO;
import com.cskaoyan.bean.vo.vxVo.OrderListVO;
import com.cskaoyan.bean.vo.vxVo.WXSubmitVO;

/**
 * @author by WANGJun
 * @date 2022/6/7 14:42
 */
public interface WXOrderService {
    int comment(VXCommentBO VXCommentBO);

    TVO<OrderListVO> list(Short showType, Integer page, Integer limit);

    OrderDetailVO detail(Integer orderId);

    void cancel(Integer orderId);

    void refund(Integer orderId);

    void delete(Integer orderId);

    void confirm(Integer orderId);

    OrderDetailGoodsVO goods(Integer orderId, Integer goodsId);

    WXSubmitVO submit(CartToOrderBO cartToOrderBO);

    void prepay(Integer orderId);
}
